<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php
	// Set toolbar items for the page
	JToolBarHelper::title(   JText::_( 'Clickdesk Manager' ), 'generic.png' );
?>
<form method="post">
<table align="center" width="90%" cellspacing="2" cellpadding="2" border="0" >
	<tr>
		<td class="moduleheading" colspan="2">Clickdesk<hr/></td>
	</tr>
	<tr>
		<td>
			<label>Widget Id</label>
		</td>
		<td>
			<input type="text" name="widgetid" value="<?php echo $this->options["clickdesk_widget"]; ?>" />
			<input type="hidden" name="checkclickid" value="<?php echo $this->options["clickdesk_id"]; ?>" />

			<?php echo JHTML::_( 'form.token' ); ?>
			<input type="hidden" name="option" value="com_clickdesk" />

		</td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" name="savecheckdesk" value="Save" /></td>
	</tr>
	<tr>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td valign="middle" height="50" colspan="2" align="center">
			<iframe width="100%" border="0" height="1200px" src="<?php echo $this->options["cdurl"]; ?>" scrolling="yes">
			</iframe>
		</td>
	</tr>
</table>
</form>